package com.titaniume.rqbbitmq.util;

/**
 * @ProjectName: rqbbitmq-hello
 * @Package: com.titaniume.rqbbitmq.util
 * @ClassName: SleepUtils
 * @Author: huangrenfei
 * @Description: 睡眠工具类
 * @Date: 2021/12/17 17:10
 * @Version: 1.0
 */
public class SleepUtils {

    public  static  void sleep(int second){

        try {
            Thread.sleep(1000 * second);
        } catch (InterruptedException e) {
            Thread.currentThread().interrupt();
        }
    }
}
